package com.lzx.shop.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * product_detail
 * @author 
 */
@ApiModel(value="com.lzx.shop.dataobject.ProductDetailDO")
@Data
@TableName("product_detail")
public class ProductDetailDO implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private String id;

    /**
     * 商品id
     */
    @ApiModelProperty(value="商品id")
    private String productId;

    @TableField(exist = false)
    private ProductDO productDO;

    /**
     * 价格
     */
    @ApiModelProperty(value="价格")
    private Double price;

    /**
     * 尺码
     */
    @ApiModelProperty(value="尺码")
    private Double size;

    /**
     * 库存
     */
    @ApiModelProperty(value="库存")
    private Integer stock;

    /**
     * 属性
     */
    @ApiModelProperty(value="属性")
    private String property;

    /**
     * 详情组图
     */
    @ApiModelProperty(value="详情组图")
    private String imgUrls;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime gmtCreated;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime gmtModified;

    private static final long serialVersionUID = 1L;
}